# Copyright (c) 2007 Kimmo Parviainen <kimvais@gmail.com>
# See the LICENSE file for details

SIZE = 6
SCALE = 5
import hexmap,maputils

m = hexmap.map(SIZE)
maputils.generate_terrain(m)
maputils.generate_mountain_ranges(m,SIZE*3)
maputils.generate_canyons(m,SIZE*1.5)
maputils.erode(m)
im = m.draw(SCALE)
im.show()
maputils.erode(m)
im = m.draw(SCALE)
im.save("test.png")
im.show()
